*{
    margin: 0;
    padding: 0;
}
body{
    width: 100%;
    max-width: 640px;
    min-width: 320px;
    margin: 0px auto;
    font-family: -apple-system, 'Helvetica Neue', sans-serif;
    font-size: 14px;
    background: #F6F6F6;
    line-height: 1.5;
}
ul{

    list-style: none;
}
a{
    text-decoration: none;
    color: #666;
}
img{
    vertical-align: top;
}
.app{
    height: 45px;
}
.app ul li{
    background-color: #333;
    float: left;
    height: 45px;
    text-align: center;
    line-height: 45px;
    color: #fff;
}
.app ul li:nth-child(1){
    width: 8%;

}
.app ul li:nth-child(1) img{
    width: 10px;
    vertical-align: middle
}
.app ul li:nth-child(2){
    width: 10%;
}
.app ul li:nth-child(2) img{
    width: 30px;
    vertical-align: middle
}
.app ul li:nth-child(3){
    width: 57%;
}
.app ul li:nth-child(4){
    width: 25%;
    background-color: #f63515;
}


/* 设置搜索部分的样式 */
.search{
    width: 100%;
    height: 44px;
    position: fixed;
    overflow: hidden;
    min-width: 320px;
    max-width: 640px;
}
.search-btn{
    position: absolute;
    top: 0px;
    left: 0px;
    /* background-color: pink; */
    width: 40px;
    height: 44px;
}
.search-btn:before{
    content: "";
    display: block;
    width: 20px;
    height: 18px;
    background: url("../images/s-btn.png") no-repeat;
    background-size: 20px 18px;
    margin: 14px 0px 0px 15px;
}
.search-login{
    position: absolute;
    top: 0px;
    right: 0px;
    /* background-color: purple; */
    width: 40px;
    height: 44px;
    color:#fff;
    line-height: 44px;
    /* text-align: center; */
}
.search-main{
    height: 30px;
    background: #fff;
    margin: 0px 50px;
    margin-top: 7px;
    border-radius: 40px;
    position: relative;
}
.jd-icon{
    width: 20px;
    height: 15px;
    position: absolute;
    top: 9px;
    left: 13px;
    background: url("../images/jd.png") no-repeat;
    background-size: 20px 15px;
}
.jd-icon:after{
    content: "";
    display: block;
    width: 1px;
    height: 15px;
    background: #ccc;
    position: absolute;
    left: 28px;
}
.sou{
    width: 18px;
    height: 15px;
    /* background: pink; */
    position: absolute;
    top: 8px;
    left: 50px;
    background: url("../images/jd-sprites.png") -81px 0px;
    background-size: 200px auto;
    /* 二倍精灵图的做法 */
    /* 1. 将精灵图等比例缩小到原来的一半 */
    /* 2. 之后根据大小测量坐标 */
    /* 3. 注意代码里的background-size也要写完，精灵图原来宽度的一一半 */
}

/* 设置滑动图部分的样式 */
.slider img{
    width: 100%;
}

/* 品牌日部分的样式 */
.brand{
    border-radius: 10px 10px 0px 0px;
    overflow: hidden;
}
.brand div{
    float: left;
    width: 33.33%;
}
.brand div img{
    width: 100%;
}


/* 设置nav部分的样式 */
nav{
    margin-top: 10px;
    overflow: hidden;
}
nav a{
    float: left;
    width: 20%;
    text-align: center;
}
nav a img{
    width: 40px;
    margin: 10px auto;
}

/* 设置news部分的样式 */
.news{
    margin-top: 10px;  
    overflow: hidden;  
}
.news a:nth-child(1){
    width: 50%;
}
.news a:nth-child(2){
    width: 25%;
    box-sizing: border-box;
}
.news a:nth-child(3){
    width: 25%;
    border: none;
}
.news a{
    float: left;
    border-right: 1px solid #999;
   box-sizing: border-box;
}
.news img{
    width: 100%;
   
}

/* 设置1元卡片部分的样式 */
.oneCard{
    margin-top: 10px;
}
.oneCard img{
    width: 100%;
}

/* 设置每日逛部分的样式 */
.meiriguang{
    overflow: hidden;
}
.meiri-top img{
    width: 100%;
    margin-top: 10px;
}
.meiriguang li{
    width: 25%;
    background-color: #fff;
    float: left;
    border-right: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    box-sizing: border-box;
    text-align: center;
}
.meiriguang ul li:nth-child(4){
    border-right: none;
}
.meiriguang ul li h3{
    margin: 10px 0px 5px;;
}
.meiriguang img{
    width: 100%;
}

/* 设置为您推荐部分的样式 */
.commend{
    margin-top: 10px;
    overflow: hidden;
}
.commend-top img{
    width: 100%;
}
.commend ul li{
    width: 50%;
    padding: 10px;
    float: left;
    box-sizing: border-box;
    border: 3px solid #F6F6F6;
    border-radius: 8px;
    background: #fff;
}
.commend ul li img{
    width: 100%;
}
.commend ul li p{
    margin: 10px;
}
.commend ul li b{
    float: left;
    line-height: 30px;
    margin-left: 10px;
    color: #f00;
}
.commend ul li span{
    float: right;
    margin-right: 20px;
    padding: 3px 8px;
    border: 1px solid #ccc;
    border-radius: 3px;
}

/* 设置footer部分的样式 */
footer{
    height: 40px;
    
}
footer ul{
    overflow: hidden;
    position: fixed;
    bottom: 0px;
    /* left: 0px; */
    /* margin: 0px auto; */
    z-index: 100;
    background: #fff;   
    border-top: 1px solid #ccc;
}
footer ul li{
    width: 20%;
    text-align: center;
    float: left;
    height: 40px;
}
footer ul li img{
    width: 60%;
    margin-top: 4px;;
}